package com.xyht.sca_s.student_manage_system.modules.purchaseRequisition.entity.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 学院请购单
 * </p>
 *
 * @author XYHT
 * @since 2023-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_purchase_requisition")
@ApiModel(value="SmsPurchaseRequisition对象", description="学院请购单")
public class SmsPurchaseRequisitionMpjVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String examineId;

    private String detailId;

    private SmsPurchaseRequisitionUserVo applyUserInfo;

    @ApiModelProperty(value = "请购人id")
    private String requestorId;

    @ApiModelProperty(value = "物品名称")
    private String itemName;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "请购数量")
    private Integer requisitionQuantity;

    @ApiModelProperty(value = "用途")
    private String useTo;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "审批状态  0：审批中  1：通过   2：驳回   3：撤销")
    private Integer allowStatus;

    @ApiModelProperty(value = "流程结束时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date processEndTime;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "流程名")
    private String processName;

    @ApiModelProperty(value = "审批人id")
    private String detailAllowUserId;

    @ApiModelProperty(value = "审批状态  0：审批中  1：通过   2：驳回   3：撤销")
    private Integer detailAllowStatus;



}
